Skip to content

Conversation

JamesJJ
Copy link
Contributor

@JamesJJ JamesJJ commented Mar 13, 2021

Improvements to Go code example:

Description of changes:

  • Include package main and func main() {... } so that the example can be built and deployed directly.
  • Remove strings import as it is unused and blocks build.
  • Add context, fmt and runtime imports, as the existing code depends on these.
  • Remove extra spacing in return line, to match Go standard code format

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@devlinbd2 devlinbd2 merged commit 2141ea6 into awsdocs:main Mar 19, 2021
@devlinbd2
Copy link
Contributor

Thank you for providing improvements to the Go code sample.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants